package com.hisysteTopet.hisystepet.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.hisysteTopet.hisystepet.bean.Foster;
import org.apache.ibatis.annotations.Select;

import java.util.List;

public interface FosterService extends IService<Foster> {

    // 查询我的寄养信息
    public List<Foster> selectByUsername(String username);

    // 删除寄养信息
    public void deleteByFosterId(String fosterId,String username);

    // 添加挂号信息
    public void insertByFosterId(String username,String why,String data);

    // 查询所有待审核的预约信息
    public List<Foster> auditAllMessage();

    // 审核通过
    public void updateFosterMessageByYes(String audit ,String auditResults,Integer fosterId);

    // 审核不通过
    public void updateFosterMessageByNo(String audit ,String auditResults,Integer fosterId);
}
